import React from 'react';
import { Map, Marker, NavigationControl, InfoWindow } from 'react-bmapgl';

class App extends React.Component {
    render() {
        return (
            <Map center={{ lng: 116.402544, lat: 39.928216 }} zoom="11" style={{ height: 650}}>
                <Marker position={{ lng: 116.402544, lat: 39.928216 }} />
                <NavigationControl />
                <InfoWindow position={{ lng: 116.402544, lat: 39.928216 }} text="内容" title="标题" />
            </Map>)
    }
}
export default App